<script type="text/javascript" src="javascript/swfobject.js"></script>
<!-- Div that contains gallery. -->
<div id="gallery">
<h1>No flash player!</h1>
<p>It looks like you don't have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer" >Click here</a> to go to Macromedia download page.</p>
</div>

<!-- Script that embeds gallery. -->
<script language="javascript" type="text/javascript">
var so = new SWFObject("components/com_slideshow/flashgallery.swf", "gallery", "550", "350", "8"); // Location of swf file. You can change gallery width and height here (using pixels or percents).
so.addParam("quality", "high");
so.addParam("allowFullScreen", "true");
so.addVariable("content_path","img"); // Location of a folder with JPG and PNG files (relative to php script) or a link to Flickr photostream (for example "http://www.flickr.com/photos/username/" or "http://www.flickr.com/photos/username/sets/setid/").
so.addVariable("color_path","components/com_slideshow/default.xml"); // Location of xml file with settings.
so.addVariable("script_path","components/com_slideshow/flashgallery.php"); // Location of php script (not requred if you work with Flickr).
so.write("gallery");
</script>